package com.example.sangong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data

@TableName("t_person")
@Accessors(chain = true)
public class Person implements Serializable {

    @TableId(type = IdType.INPUT)
    private Long id;
    private String name;
    private Integer age;
    private LocalDate birthDay;
    private Integer gender;
    private Integer deleteFlag;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
